#!/bin/bash

for i in "$@"
do
	echo $i:$(nmap2 -sS -p1-65535 $i |grep open|awk -F / '{print $1;}'| paste -sd ",")
done
echo "complete!"
